<?php while (have_posts()) : the_post(); ?>
<li>
	<div class="box">
		<figure class="icon">
			<a href="<?php the_permalink(); ?>" target="_blank" title="<?php the_title();?>">
				<img src="<?php get_template_part('functions/thumbnail');?>" alt="<?php the_title();?>"/>
			</a>
		</figure>
		<div class="info">
			<h3><a href="<?php the_permalink(); ?>" target="_blank" title="<?php the_title();?>"><?php the_title();?></a></h3>
			<?php if(get_post_meta($post->ID, "size", true)){?>
			<div class="meta">
				<span>大小：<?php echo get_post_meta($post->ID, "size", true);?></span>
			</div>
			<?php } ?>
			<div class="support">
				<?php if(get_post_meta($post->ID, "android", true)){?>
				<span class="and"><i></i></span>
				<?php } ?>
				<?php if(get_post_meta($post->ID, "ios", true)){?>
				<span class="ios"><i></i></span>
				<?php } ?>
			</div>
		</div>
		<div class="clear"></div>
		<div class="intro">
			<em>简介：</em><?php echo wp_trim_words($post->post_content, 62, '...');?>
		</div>						
	</div>
</li>
<?php endwhile;?>	